package com.example.hxds.cst.db.dao;

import com.example.hxds.cst.db.pojo.CustomerCarEntity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface CustomerDao {
    //乘客注册
    public int registerNewCustomer(Map param);

    public long hasCustomer(Map param);

    public String searchCustomerId(String openId);

    //乘客登录
    public String login(String openId);

    //根据customerId查询基本信息
    public HashMap searchCustomerInfoInOrder(long customerId);

    //根据订单Id 查询乘客信息
    public HashMap searchCustomerBriefInfo(long customerId);

    //根据乘客Id 查询 对应的 customerOpenId
    public String searchCustomerOpenId(long customerId);
}
